import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'
import MintUI from 'mint-ui'
import 'mint-ui/lib/style.css'
import plugin from './plugin'
import { Select, Option, Button, Radio, RadioButton, RadioGroup } from 'element-ui'
import { Checkbox, CheckboxButton, CheckboxGroup, Dialog, Message, Popover } from 'element-ui'
Vue.config.productionTip = false
Vue.component('el-select', Select)
Vue.component('el-option', Option)
Vue.component('el-radio', Radio)
Vue.component('el-radio-group', RadioGroup)
Vue.component('el-button', Button)
Vue.component('el-checkbox', Checkbox)
Vue.component('el-radio-button', RadioButton)
Vue.component('el-checkbox-button', CheckboxButton)
Vue.component('el-checkbox-group', CheckboxGroup)
Vue.component('el-dialog', Dialog)
Vue.component('el-popover', Popover)
Vue.use(MintUI)
Vue.use(plugin)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  template: '<App/>',
  components: {App}
})
